package smilesnake.behavior_pattern.command;

/**
 * 命令
 * @author smilesnake
 *
 */
public class MyCommand implements Command{
	private Receiver receiver;

	public MyCommand(Receiver receiver) {
		this.receiver = receiver;
	}

	@Override
	public void exe() {
		receiver.action();
	}
	
	
	
	
}
